﻿using System;

namespace Colorful.Furniture.SysManagement
{
    /// <summary>
    ///  系统接口输出
    /// </summary>
    public class SysApiOutputDto
    {
        /// <summary>
        ///  区域标题
        /// </summary>
        public string AreaTitle { get; set; }

        /// <summary>
        ///  区域代码
        /// </summary>
        public string AreaCode { get; set; }

        /// <summary>
        ///  控制器标题
        /// </summary>
        public string ControllerTitle { get; set; }

        /// <summary>
        ///  授权方式
        /// </summary>
        public int AuthorizationType { get; set; }

        /// <summary>
        ///  授权方式名字
        /// </summary>
        public string AuthorizationTypeName { get; set; }

        /// <summary>
        ///  控制器标题
        /// </summary>
        public string ControllerCode { get; set; }

        /// <summary>
        ///  操作代码
        /// </summary>
        public string ActionCode { get; set; }

        /// <summary>
        ///  操作标题
        /// </summary>
        public string ActionTitle { get; set; }

        /// <summary>
        ///  路由
        /// </summary>
        public string Route { get; set; }

        /// <summary>
        ///  描述[区域-控制器-操作(自定义描述)]
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        ///  更新时间
        /// </summary>
        public DateTime? ModifyTime { get; set; }
    }

    /// <summary>
    ///  系统接口输入
    /// </summary>
    public class SysApiInputDto
    {
        /// <summary>
        ///  区域标题
        /// </summary>
        public string AreaTitle { get; set; }

        /// <summary>
        ///  授权方式
        /// </summary>
        public int AuthorizationType { get; set; }

        /// <summary>
        ///  授权方式名字
        /// </summary>
        public string AuthorizationTypeName { get; set; }

        /// <summary>
        ///  区域代码
        /// </summary>
        public string AreaCode { get; set; }

        /// <summary>
        ///  控制器标题
        /// </summary>
        public string ControllerTitle { get; set; }

        /// <summary>
        ///  控制器标题
        /// </summary>
        public string ControllerCode { get; set; }

        /// <summary>
        ///  操作代码
        /// </summary>
        public string ActionCode { get; set; }

        /// <summary>
        ///  操作标题
        /// </summary>
        public string ActionTitle { get; set; }

        /// <summary>
        ///  路由
        /// </summary>
        public string Route { get; set; }

        /// <summary>
        ///  描述[区域-控制器-操作(自定义描述)]
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        ///  更新时间
        /// </summary>
        public DateTime? ModifyTime { get; set; }
    }
}